package com.xique.door.project.miniprogram.biz.service;

import com.xique.common.core.web.domain.AjaxResult;
import com.xique.door.project.miniprogram.bean.request.MiniVisitorCompleteInviteRequest;
import com.xique.door.project.miniprogram.bean.request.MiniVisitorInviteRequest;

/**
 * @author shd
 * @create 2022/4/21 9:12
 */
public interface IMiniVisitorBizService {

    /**
     * 获取访客码
     * @author shd
     * @date 2022/4/21 9:13
     * @return com.xique.common.core.web.domain.AjaxResult
     */
    AjaxResult getInvitationCode();

    /**
     * 访客邀请
     * @author shd
     * @date 2022/4/24 11:42
     * @param request
     * @return com.xique.common.core.web.domain.AjaxResult
     */
    AjaxResult invite(MiniVisitorInviteRequest request) throws Exception;

    /**
     * 访客完善信息
     * @author shd
     * @date 2022/4/24 13:23
     * @param request
     * @return com.xique.common.core.web.domain.AjaxResult
     */
    AjaxResult completeInvite(MiniVisitorCompleteInviteRequest request);
}
